<template>
  <router-view />
</template>

<script>
import { provide, nextTick, ref } from 'vue'
export default {
  name: 'App',
  setup() {
    const isRouter = ref(true);
    const reload = () => {
      isRouter.value = false;
      nextTick(() => {
        isRouter.value = true;
      });
    };
    provide("reload", reload);

  }
}
</script>
<style>
body {
  margin: 0;
  padding: 0;
  border: 0
}

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 0px;
}
</style>